package com.cgbl.cg.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.cgbl.cg.R
import com.robot.base.model.QuestionBean

class VipQuestionAdapter : BaseQuickAdapter<QuestionBean, BaseViewHolder>(R.layout.app_item_vip_question) {

    override fun convert(holder: BaseViewHolder, item: QuestionBean) {
        holder.setText(R.id.tv_question_title, item.questionTitle)
            .setText(R.id.tv_question_answer, item.questionAnswer)
    }
}
